<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SC2API: include/sc2api/sc2_gametypes.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="SC2-Logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">SC2API
   </div>
   <div id="projectbrief">An API for AI for StarCraft II</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_3d0dfd3160b31ffa512c49330ac8d646.html">sc2api</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#enum-members">Enumerations</a>  </div>
  <div class="headertitle">
<div class="title">sc2_gametypes.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Types used in setting up a game.  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &lt;vector&gt;</code><br />
<code>#include &lt;string&gt;</code><br />
<code>#include &quot;<a class="el" href="sc2__common_8h_source.html">sc2_common.h</a>&quot;</code><br />
</div>
<p><a href="sc2__gametypes_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structsc2_1_1_player_setup.html">sc2::PlayerSetup</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Setup for a player in a game.  <a href="structsc2_1_1_player_setup.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structsc2_1_1_port_set.html">sc2::PortSet</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Port setup for a client.  <a href="structsc2_1_1_port_set.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structsc2_1_1_ports.html">sc2::Ports</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Port setup for one or more clients in a game.  <a href="structsc2_1_1_ports.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structsc2_1_1_replay_player_info.html">sc2::ReplayPlayerInfo</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Information about a player in a replay.  <a href="structsc2_1_1_replay_player_info.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structsc2_1_1_replay_info.html">sc2::ReplayInfo</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Information about a replay file.  <a href="structsc2_1_1_replay_info.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:a8429c6a35c5fe51c2293c711586d50c5"><td class="memItemLeft" align="right" valign="top"><a id="a8429c6a35c5fe51c2293c711586d50c5"></a>
typedef uint64_t&#160;</td><td class="memItemRight" valign="bottom"><b>sc2::Tag</b></td></tr>
<tr class="separator:a8429c6a35c5fe51c2293c711586d50c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:a5393a6260d44e68e5366ccb0b4bc3b5b"><td class="memItemLeft" align="right" valign="top"><a id="a5393a6260d44e68e5366ccb0b4bc3b5b"></a>enum &#160;</td><td class="memItemRight" valign="bottom"><b>Race</b> { <b>Terran</b>, 
<b>Zerg</b>, 
<b>Protoss</b>, 
<b>Random</b>
 }</td></tr>
<tr class="separator:a5393a6260d44e68e5366ccb0b4bc3b5b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a135807f6bb70e82282a6cf9d013d1a06"><td class="memItemLeft" align="right" valign="top"><a id="a135807f6bb70e82282a6cf9d013d1a06"></a>enum &#160;</td><td class="memItemRight" valign="bottom"><b>GameResult</b> { <b>Win</b>, 
<b>Loss</b>, 
<b>Tie</b>, 
<b>Undecided</b>
 }</td></tr>
<tr class="separator:a135807f6bb70e82282a6cf9d013d1a06"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a288846666f229644d0aa9e37d44e6d94"><td class="memItemLeft" align="right" valign="top"><a id="a288846666f229644d0aa9e37d44e6d94"></a>enum &#160;</td><td class="memItemRight" valign="bottom"><b>Difficulty</b> { <br />
&#160;&#160;<b>VeryEasy</b> = 1, 
<b>Easy</b> = 2, 
<b>Medium</b> = 3, 
<b>MediumHard</b> = 4, 
<br />
&#160;&#160;<b>Hard</b> = 5, 
<b>HardVeryHard</b> = 6, 
<b>VeryHard</b> = 7, 
<b>CheatVision</b> = 8, 
<br />
&#160;&#160;<b>CheatMoney</b> = 9, 
<b>CheatInsane</b> = 10
<br />
 }</td></tr>
<tr class="separator:a288846666f229644d0aa9e37d44e6d94"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abe9a024c255a8f486cbb58604ab8d4c4"><td class="memItemLeft" align="right" valign="top"><a id="abe9a024c255a8f486cbb58604ab8d4c4"></a>enum &#160;</td><td class="memItemRight" valign="bottom"><b>PlayerType</b> { <b>Participant</b> = 1, 
<b>Computer</b> = 2, 
<b>Observer</b> = 3
 }</td></tr>
<tr class="separator:abe9a024c255a8f486cbb58604ab8d4c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Types used in setting up a game. </p>
</div></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
